// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.

using System.Globalization;

namespace SixLabors.ImageSharp.Metadata.Profiles.Exif;

internal sealed class ExifSignedLong : ExifValue<int>
{
    public ExifSignedLong(ExifTagValue tag)
        : base(tag)
    {
    }

    private ExifSignedLong(ExifSignedLong value)
        : base(value)
    {
    }

    public override ExifDataType DataType => ExifDataType.SignedLong;

    protected override string StringValue => this.Value.ToString(CultureInfo.InvariantCulture);

    public override IExifValue DeepClone() => new ExifSignedLong(this);
}
